<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>内容管理</title>
<link href="/res/back/css/base.css" rel="stylesheet" type="text/css" />
<link href="/res/third/bootstrap3/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="/res/common/js/jquery.1.9.1.min.js" type="text/javascript"></script>
<script src="/res/third/artDialog/jquery.artDialog.js" type="text/javascript"></script>
<script src="/res/third/validate/jquery.validate.js" type="text/javascript"></script>
<script src="/res/third/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/res/third/easyUI/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
 <link href="/res/third/powerFloat/css/powerFloat.css" rel="stylesheet" type="text/css" />
 <script src="/res/third/powerFloat/js/mini/jquery-powerFloat-min.js" type="text/javascript"></script>
<style type="text/css">
		.maintable{width: 100%;font-size: 12px;border-bottom: 1px solid #ddd;}
		.maintable2,.maintable3{width: 100%;font-size: 14px;}
		.maintable tr{height: 48px;}
		.maintable2 tr{height: 72px;border-bottom: 1px solid #ddd;}
		.maintable3 tr{height: 72px;border-bottom: 1px solid #ddd;}
		.firstp1{letter-spacing: 3px;}
		.firstp2{border-radius:inherit;width: 30px;height: 32px;line-height: 29px;cursor: inherit;}
		.tp{margin: 0px 10px;width: 88px;height: 33px;border: 1px solid #ddd;}
		.fdcl,.dqcl{border-radius:inherit;margin-left: 12px;width: 80px;height: 32px;line-height: 29px;}
		.whiteback{background-color: #fff;color: #5bc0de;}
</style>
<script type="text/javascript">

</script>
</head>
<body>
<!-- 新建 -->
	   <div class="panel panel-info" style="overflow-y:scroll;height: 100%;">
	        <div class="panel-heading">
	          <h3 class="panel-title">企业流水</h3>
	        </div>
        <div class="panel-body" style="overflow: hidden;border-bottom: none;padding: 15px;">
			 <table  class="maintable">
			 		<tr>
			 			<td colspan="3">公司名称：${company.companyName!}</td>
			 		</tr>
			 		<tr>
			 			<td>企业类型：[#if company.ispurchaser==1]采购商   [/#if][#if company.isprovider==1]供应商[/#if]</td>
			 			<td>注册资本：${company.companyInfo.registercapital!}万[#if companyInfo.currency == 1]元[#else]美元[/#if]</td>
			 			<td>代表法人：${company.companyInfo.legalperson!}</td>
			 		</tr>
			 		<tr>
			 			<td colspan="3">经营地址：${company.companyInfo.businessAddress!}</td>
			 		</tr>
			 		<tr>
			 			<td colspan="3">销售区域：
			 				[#list company.companyBusinesses as business]
			 					${business.provinceName!}  
			 				[/#list]
			 			</td>
			 		</tr>
			 		<tr>
			 			<td colspan="3">主营产品系统：
			 				[#list company.companyCategorys as category]
			 					${category.categoryName!}  
			 				[/#list]
			 			</td>
			 		</tr>
			 </table>
			 <div style="margin-top: 20px;border-bottom: 1px solid #5BC0DE;margin-bottom: 5px;">
			 	  <span class="btn btn-info btn-xs delbtn fdcl">安装币流水</span>
			 	  <span style="display: inline-block;float: right;">
			 	  		<span>已使用安装币总量:<b style="color: red;">${nousercoin!}</b></span>
						<span>可用安装币总量:<b style="color: red;">${usercoin!}</b></span>
			 	  </span>
			 </div>
			 <div id="fd_div">
				 <table class="table table-hover table-bordered table-striped table-condensed">
					<thead>
						<tr>
							<th width="5%">序号</th>
							<th width="10%">日期</th>
							<th width="15%">收入/支出</th>
							<th width="10%">用户</th>
							<th width="10%">操作人</th>
							<th width="50%">详细说明</th>
						</tr>
					</thead>
					[#list pagination.list as cm]
					<tr>
						<td align="center">${cm_index+1!}</td>
						<td align="center">${(cm.createtime?string("yyyy-MM-dd HH:mm"))!}</td>
						<td align="center">
							[#if cm.operateType??]
								[#if cm.operateType==1]
									<span style="color: red;">+${cm.coinAmount!}</span>
								[#else]
								    <span style="color: green;">-${cm.coinAmount!}</span>
								[/#if]
							[/#if]
						</td>
						<td align="center">${cm.userName!}</td>
						<td align="center">${cm.adminName!}</td>
						<td align="center">详细说明:${cm.descr!}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[#if cm.orderNum?? && cm.orderNum != '']支付订单号：${cm.orderNum!}[/#if]</td>
					</tr>
					[/#list]
					</table>
					<div class="panel-footer">[@fenye p = pagination form = 'infoForm' /]</div>
						 </div>
			        </div>
      </div>
      

</body>
</html>

